tools/tests: Unit test for paging mempool size
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 20 Oct 2022 11:13:46 +0000 (12:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 17 Nov 2022 16:51:51 +0000 (16:51 +0000)
commitbd87315a603bf25e869e6293f7db7b1024d67999
tree734bd8b6d5afe466a7963b1ed41b8efc955cd82e
parent22b20bd98c025e06525410e3ab3494d5e63489f7
tools/tests: Unit test for paging mempool size

Exercise some basic functionality of the new
xc_{get,set}_paging_mempool_size() hypercalls.

This passes on x86, but fails currently on ARM.  ARM will be fixed up in
future patches.

This is part of XSA-409 / CVE-2022-33747.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/tests/Makefile
tools/tests/paging-mempool/.gitignore [new file with mode: 0644]
tools/tests/paging-mempool/Makefile [new file with mode: 0644]
tools/tests/paging-mempool/test-paging-mempool.c [new file with mode: 0644]